import { defineConfig,loadEnv  } from "vite";
import react from "@vitejs/plugin-react";



export default ({ mode }) => {
  const  env  = loadEnv(mode, process.cwd());
  return defineConfig({
    plugins: [react()],
    base: env.VITE_APP_BASE_URL,
  });
};


